package com.zhou.common.mybatis.template.shiro.zhou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouxianfeng
 * @since 2022-04-18
 */
@Getter
@Setter
@ApiModel(value = "User对象", description = "")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(" user 自增id")
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @ApiModelProperty("user 姓名")
    private String userName;

    @ApiModelProperty(" user 账户")
    private String userAccount;

    @ApiModelProperty(" user 密码")
    private String userPassword;

    @ApiModelProperty(" user 专业")
    private String userObject;

    @ApiModelProperty(" 角色权限")
    private String role;


}
